package org.jsola.hr.vo.excel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.List;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ParseResultVO<T> extends BaseVO {

    @ApiModelProperty(notes = "解析是否成功")
    private Boolean success;

    @ApiModelProperty(notes = "当前数据所属行")
    private Integer row;

    @ApiModelProperty(notes = "错误信息，正常时为null")
    private List<String> msgList;

    @ApiModelProperty(notes = "当前行的数据")
    private T data;

}
